- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 11k
 
[Bugfix] Fix Qwen3-VL max_num_video_tokens calculation for video profiling #25648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Isotr0py <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request addresses a video profiling issue in Qwen3-VL by reusing Qwen2-VL's profiling logic with some modifications. The changes involve reducing _MAX_FRAMES_PER_VIDEO in qwen2_vl.py and adding a hack in qwen3_vl.py to disable resizing during dummy input generation.
While the hack in qwen3_vl.py is clearly documented as a temporary measure, modifying a constant in qwen2_vl.py to fix an issue in qwen3_vl.py introduces an undesirable side effect on Qwen2-VL's own profiling. My review includes a suggestion to isolate this change to qwen3_vl.py to avoid impacting other models.
…iling (vllm-project#25648) Signed-off-by: Isotr0py <[email protected]>
…iling (#25648) Signed-off-by: Isotr0py <[email protected]> Signed-off-by: yewentao256 <[email protected]>
…iling (vllm-project#25648) Signed-off-by: Isotr0py <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…iling (vllm-project#25648) Signed-off-by: Isotr0py <[email protected]>
…iling (vllm-project#25648) Signed-off-by: Isotr0py <[email protected]>
…iling (vllm-project#25648) Signed-off-by: Isotr0py <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
Purpose
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.